<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
	<head>
	 	<%@ include file="/WEB-INF/views/common/import.jsp"%>
		<link rel="stylesheet" href="<%=request.getContextPath() %>/static/company/styles/company-login.css">
		<title>Hiring-企业修改密码</title>
	</head>
	<body>
		<div class="container">
	 <ol class="breadcrumb">
		  <li><a href="<%=request.getContextPath()%>/CompanyServlet?command=main">主页</a></li>
		  <li class="active">修改密码</li>
	</ol>
      <form class="form-signin" role="form" method="POST" action="CompanyServlet?command=updatePassword">
        <h2 class="form-signin-heading">修改密码</h2>
        <c:if test="${!empty msg }">
			<div class="alert alert-danger alert-dismissible fade in" role="alert">
		      <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="  ">×</span></button>
		      <strong>${msg }</strong>
		    </div>
	    </c:if>
        <input type="text" class="form-control" placeholder="原密码" name="oldpassword"
        data-rule="Password: required; length(4~12)"
            	data-tip="请填写至少四个字符"
        >
        <input type="password" class="form-control" placeholder="新密码" name="password"
        	data-rule="Password: required; length(4~12)"
            	data-tip="请填写至少四个字符"
        >
        <button class="btn btn-lg btn-primary " type="submit">确认</button>
        <a href="<%=request.getContextPath()%>/CompanyServlet?command=main">
        <button class="btn btn-lg btn-primary " type="button">返回主页</button>
        </a>
      </form>

    </div> <!-- /container -->
	
	</body>
</html>